package com.fjl.prediction.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

@Data
@TableName("sys_config")
public class SysConfig {

    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private String type;

    @TableField("type_remark")
    private String typeRemark;

    @TableField("key_")
    private String key;

    @TableField("key_remark")
    private String keyRemark;

    private String value;

    private String remark;

    private Integer enable;

    @TableField("create_time")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long createTime;

}
